<template>
    <div class="card-integral">
        <div class="integral-content">
            <div class="integral-wrap">
                <div class="integral-name">我的积分</div>
                <div class="integral-number-box">
                    <div class="number">3000</div>
                    <image
                        class="img"
                        src="https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fsafe-img.xhscdn.com%2Fbw%2F1548dc49-eb27-440d-b815-b33d24559075%3FimageView2%2F2%2Fw%2F1080%2Fformat%2Fjpg&refer=http%3A%2F%2Fsafe-img.xhscdn.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=auto?sec=1703923258&t=4a3304af0d3fa6686e35a3c396ca2dc1"
                        mode="scaleToFill"
                    />
                </div>
            </div>
            <div class="detail-wrap" @click="hanldeToDetals">
                <image
                    class="img"
                    src="https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fsafe-img.xhscdn.com%2Fbw%2Fb9773117-4147-4602-b73f-c6456f366702%3FimageView2%2F2%2Fw%2F1080%2Fformat%2Fjpg&refer=http%3A%2F%2Fsafe-img.xhscdn.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=auto?sec=1703923258&t=62ee922cd1af73381e62a021189bb002"
                    mode="scaleToFill"
                />
                <div class="text-detail">使用明细</div>
            </div>
        </div>
        <div class="member-equity">积分介绍&gt;&gt;</div>
    </div>
</template>
<script setup lang="ts">
const hanldeToDetals = (): void => {
    uni.navigateTo({
        url: '/minePages/moneyDetails/index'
    })
}
</script>
<style scoped lang="scss">
.card-integral {
    height: 96px;
    width: calc(375px - 155px);
    margin-left: 15px;
    background: #fff;
    padding-left: 15px;
    padding-right: 10px;
    box-sizing: border-box;
    padding-top: 10px;
    padding-bottom: 10px;
    border-radius: 10px;
    .integral-content {
        display: flex;
        justify-content: space-between;
        .detail-wrap {
            display: flex;
            flex-direction: column;
            width: 32px;
            .img {
                width: 32px;
                height: 18px;
            }
            .text-detail {
                font-size: 8px;
                color: #ee984e;
                margin-top: 6px;
            }
        }
    }
    .integral-wrap {
        .integral-name {
            color: rgba(255, 166, 88, 1);
            font-size: 14px;
        }
        .integral-number-box {
            display: flex;
            .number {
                color: rgba(255, 166, 88, 1);
                font-size: 30px;
                font-weight: 700;
            }
            .img {
                width: 80px;
                height: 40px;
            }
        }
    }
    .member-equity {
        color: #ee984e;
        font-size: 12px;
    }
}
</style>
